a11y: Avoid out-of-bounds access
authorMatthias Clasen <mclasen@redhat.com>
Thu, 4 Feb 2021 05:34:05 +0000 (00:34 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 4 Feb 2021 05:34:05 +0000 (00:34 -0500)
commitaa5bd38137fb11e068eb8a4759cc91fbef9c5830
tree673a6e477cb0564c2035170556d84bc9a5c729fa
parent0eba8335957c3f8396f2bbfdab210e3d3662b04e
a11y: Avoid out-of-bounds access

Don't use the index before we've checked its good.

Pointed out in https://www.viva64.com/en/b/0793/
gtk/a11y/gtkatspiaction.c